import * as CONSTANT from '../constant'


export const  syncAction = (inputTask)=>{
    return {type:CONSTANT.TASK_SYNC,payload:inputTask} 
}

export const addAction = ()=>{
    return {type:CONSTANT.TASK_ADD} 
}

export const deleteAction = (index)=>{
    return {type:CONSTANT.TASK_DELETE,payload:index} 
}
